package com.ruoyi.web.admin.data.command;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * 设置位置上报频率命令处理器
 *
 * @author 10100
 */
@Component
public class LocationSeqSetCommandHandler implements CommandHandler {

    private static final Logger log = LoggerFactory.getLogger(LocationSeqSetCommandHandler.class);

    @Override
    public String handle(String deviceId, String iccid, String recordId, String command,
                         String type, String timestamp, String length, String body) {
        log.info("设备[{}]位置上报频率设置：{}, 0＝设置成功，1＝设置异常", deviceId, body);
        return null;
    }

    @Override
    public String getCommandType() {
        return "FREQUENCY_LOCATION_SET";
    }
}